package com.amoyt.project.domain.dto.update;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Date: 2025/8/25
 * @Time: 16:47
 * @Author: TQ_QT
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "文章内容块表")
public class ContentBlockUpdateDto {
    @Schema(description = "内容块编号-主键")
    private String blockId;
    @Schema(description = "内容块类型(1-文字,2-图片,3-视频,4-文件)")
    private Integer blockType;
    @Schema(description = "内容(文字内容或媒体/文件URL)")
    private String content;
    @Schema(description = "文件名(仅文件类型使用)")
    private String fileName;
    @Schema(description = "排序号(决定显示顺序)")
    private Integer sortNum;
    @Schema(description = "是否删除 1-删除")
    private Integer delFlag;
}
